<script src="src/js/question/question_list.js"></script>
<div class="box">
	<div class="box-header" style="display: inline-block;">
		<h3 class="box-title">问题列表</h3>
	</div>
	<a href="javascript:void(0)" onclick="editQuestion()">
		<button style="float: right;margin-right: 1%;margin-top: 10px;border: 1px solid #0D1113;color: #0D1113;background: transparent;" type="button" class="btn btn-primary">新增问题</button>
	</a>
	<div class="box-body">
		<table id="questionList" class="table table-striped table-hover" cellspacing="0" width="100%">
			<thead>
				<tr>
					<th>关键字</th>
					<th>问题</th>
					<th>更多关键字</th>
					<th>状态</th>
					<th style="min-width: 225px;">操作</th>
				</tr>
			</thead>
		</table>
	</div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="deleteModal">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title">删除</h4>
				<div id="id" style="display: none;"></div>
			</div>
			<div class="modal-body">
				<p>确定要删除这个问答吗？</p>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				<button type="button" class="btn btn-primary" onclick="submitDelete($('#id').text());">确定</button>
			</div>
		</div>
	</div>
</div>
